package com.xiaowu.service;

import com.xiaowu.pojo.*;

import java.text.ParseException;
import java.time.LocalDate;
import java.util.List;

public interface VolunteerService {

    List<Volunteer> list();
    void delete(Integer id);
    void add(Volunteergister volunteer);

    PageBean page(Integer page, Integer pageSize);

    PageBean pages(Integer page, Integer pageSize, String userId, String onLineStatus, LocalDate begin, LocalDate end) throws ParseException;
}
